﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShowToPatient.aspx.cs" Inherits="Patient_ShowToPatient" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>نتیجه آزمایش</title>
    <link href="~/Styles/B_Yekan.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/main.css" rel="stylesheet" type="text/css" />
</head>
<body class="sun">
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div id="header">
        <a href="../Default.aspx" class="logo">
            <img src="../Styles/images/logo.png" alt="" /></a>
        <ul dir="rtl">
            <li class="selected"><a id="A1" href="~/Patient/ShowToPatient.aspx" runat="server">نتیجه
                آزمایش</a> </li>
            <li><a id="logout_a" href="#" runat="server" onclick="if(!confirm('آیا قصد خروج از سیستم را دارید؟')) return false;"
                onserverclick="LogoutButton_Click">خروج از سیستم</a></li>
        </ul>
    </div>
    <div id="body" dir="rtl">
        <h2>
            نتیجه آزمایش</h2>
        <br />
        <div align="center">
            <rsweb:reportviewer id="TestResultReportViewer" runat="server" font-names="Verdana"
                font-size="8pt" interactivedeviceinfos="(Collection)" waitmessagefont-names="Verdana"
                waitmessagefont-size="14pt" width="90%">
                                    <LocalReport ReportPath="Report\TestResultReport.rdlc">
                                        <DataSources>
                                            <rsweb:ReportDataSource DataSourceId="TestResultType1ObjectDataSource" Name="TestResultType1ReportDataSet" />
                                            <rsweb:ReportDataSource DataSourceId="TestResultType2ObjectDataSource" Name="TestResultType2ReportDataSet" />
                                        </DataSources>
                                    </LocalReport>
                                </rsweb:reportviewer>
        </div>
    </div>
    <asp:ObjectDataSource ID="TestResultType1ObjectDataSource" runat="server" SelectMethod="SelectType1"
        TypeName="TestResultAccess">
        <SelectParameters>
            <asp:Parameter Name="tel" Type="String" />
            <asp:Parameter Name="year" Type="String" />
            <asp:Parameter Name="code" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="TestResultType2ObjectDataSource" runat="server" SelectMethod="SelectType2"
        TypeName="TestResultAccess">
        <SelectParameters>
            <asp:Parameter Name="tel" Type="String" />
            <asp:Parameter Name="year" Type="String" />
            <asp:Parameter Name="code" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    </form>
</body>
</html>
